<?php
namespace Home\Controller;
use Think\Controller;
class IndexController extends Controller {
    public function index(){
    	if(!S('test')){
    		echo 123;
          S('test','abc',10);
    	}else{
    		echo S('test');
    	}
    }
}